package com.aaa.ssm.dao;

import com.aaa.ssm.entity.Theme;

import java.util.List;

/**
 * @ fileName:ThemeDao
 * @ description:
 * 景区主题
 * @ date: 2023/3/29 15:18
 * @ version:1.0.0
 */
public interface ThemeDao {
    List<Theme> queryAll();

    /**
     * 分页带参查询
     * @param theme
     * @return
     */
    List<Theme> queryByParam(Theme theme);

    /**
     * 根据添加 的倒叙
     * @param dicTheme
     * @return
     */
    List<Theme> SysQueryByParam(Theme dicTheme);
    int add(Theme theme);
    int update(Theme theme);
    int deleteById(int code);
}
